$OpenBSD: patch-m4_libotr_m4,v 1.1 2013/08/15 16:34:24 stsp Exp $
libotr-4.0.0 support
--- m4/libotr.m4.orig	Wed Aug 14 19:12:40 2013
+++ m4/libotr.m4	Wed Aug 14 19:13:23 2013
@@ -68,7 +68,7 @@ LIBS="$LIBOTR_LIBS $LIBS"
 AC_MSG_RESULT($LIBOTR_LIBS)
 
 dnl Check for a working version of libotr that is of the right version.
-min_libotr_version=ifelse([$1], ,3.0.0,$1)
+min_libotr_version=ifelse([$1], ,4.0.0,$1)
 no_libotr=""
     libotr_min_major_version=`echo $min_libotr_version | \
            sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'`
